import axiosServer from "../utils/request";

export function uploadFile(formdata) {
    return axiosServer({
        url:"/api/uploadFile",
        method:"post",
        data:formdata
    });
}

export function informationPush(data) {
     return axiosServer({
        url:"/api/information/add",
        method:"post",
        data:data
    });
}

export function axiosInformationList(data) {
    return axiosServer({
        url:"/api/information/list",
        method:"post",
        data:data
    });
}

export function informationDelete(id) {
    return axiosServer({
        url:"/api/information/delete",
        method:"post",
        data:{id}
    });
}
